﻿@model LeadExpress.Models.ViewPages.HomeManagementModel
           
@{
    ViewBag.Title = "Trang chủ";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="group">
    @if (Model != null && Model.GroupProduct != null)
    {
        foreach (var item in Model.GroupProduct)
        {
            <div class="group-item">
                <h3>
                    @item.GroupName
                    <a href="@item.GroupLink">xem &raquo;</a>
                </h3>
                <ul>
                    @foreach(var sub in item.ProductList)                        
                    {
                        <li onclick="window.locaion='@sub.LinkUrl';">
                            <img src="@sub.ImageUrl" border="0" width="45" height="45" alt="icon" />
                            <a href="@sub.LinkUrl" title="@sub.Title">@sub.Title</a>
                        </li>
                    }
                </ul>
            </div>
        }
    }
</div>